'宣言 Public Overloads Sub Set( _ ByVal shader As T, _ ByVal classInstances As ComArray(Of ClassInstance) _ )
public void Set( T shader, ComArray<ClassInstance> classInstances )
パラメータ
- shader
- The shader to assign to the device. Assign
null
to disable the compute shader. - classInstances
- An array of class-instance interfaces. Each interface used by a shader must have a corresponding class instance or the shader will get disabled.